/* $Id: time.h 13 2006-12-14 21:07:45Z judas $ */

#ifndef NIH_TIME_H
#define NIH_TIME_H 1

#include <nih/cdefs.h>

BEGIN_C_DECLS

#ifdef __linux__
# include <asm/timex.h>
#endif /* __linux__ */
#include <sys/types.h>

struct nih_cycles {
        const char *name;
        cycles_t cycles;
        unsigned long calls;

        cycles_t before;
};

/* Name is "__FILE__:__LINE__ (__FUNCTION__)" */
#define nih_cycles_count(code)

#define nih_cycles_dump(code)

END_C_DECLS

#endif /* NIH_TIME_H */

